<template>
  <div>
    <player-manage v-if="isTeam"></player-manage>
    <team-manage v-else></team-manage>
  </div>
</template>

<script>
import TeamManage from './components/TeamManage'
import PlayerManage from './components/PlayerManage'
export default {
  components: {
    PlayerManage,
    TeamManage
  },
  data () {
    return {
      isTeam: this.$route.query.tasktype === 'single'
    }
  }
}
</script>

<style lang="scss">
.playmanage-list{
  .el-checkbox{
    color:#fff;
  }
}
.el-dialog--tiny{
  min-width: 570px;
}
</style>
